<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title><#if mailConfig.webName??>${mailConfig.webName} - </#if>接口异常提醒</title>
</head>
<body>
<div style="padding:5px;border-radius:15px;background-color:#aaa;margin-bottom:20px;text-align: center">
    <p>${mailConfig.webName}系统接口发生异常,请及时处理</p>
</div>
<hr>
<div style="padding:15px">
    <table cellspacing="0" cellpadding="5px" border="1">
        <tr>
            <td>接口路径</td>
            <#if mailConfig.webUrl??><td><a href="${mailConfig.webUrl}${web}"> ${path}</a></td>
            <#else><td>${path}</td>
            </#if>
        </tr>
        <tr>
            <td>接口名称</td>
            <td>${description}</td>
        </tr>
        <tr>
            <td>请求方式</td>
            <td>${requestMethod}</td>
        </tr>
        <tr>
            <td>异常产生时间</td>
            <td>${createTime}</td>
        </tr>
    </table>

    <#if requestParams??>
        <hr>
        <div style="margin-top:30px">
            <p>请求参数(Params)</p>
            <p>${requestParams}</p>
        </div>
    </#if>
    <#if requestBody??>
        <hr>
        <div style="margin-top:30px">
            <p>请求Body</p>
            <p>${requestBody}</p>
        </div>
    </#if>

    <hr>
    <div style="margin-top:30px">
        <p>错误概要:</p>
        <p>${errorMsg}</p>
    </div>
    <hr>
    <div style="margin-top:30px">
        <p>错误详情:</p>
        <p>${fullError}</p>
    </div>
    <hr>
    <div style="margin-top:30px">
        <p>返回JSON:</p>
        <p>${response}</p>
    </div>
</div>
</body>
</html>
